home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Utilities / Winter Shell 1.0d2 / Source / Libraries / ControlLib / ControlLib.h < prev   
Encoding:
C/C++ Source or Header  |  1994-01-11  |  1.2 KB  |  38 lines  |  [TEXT/KAHL]

  1. #pragma once
  2.  
  3. /* width of a scroll bar */
  4. #define CTL_SCROLLBAR (15)
  5.  
  6. /* mask for the low 31 bits of the calcCRgns message to CDEFs */
  7. #define calcCRgnsMask (0x7fffffffL)
  8.  
  9. Boolean CtlValid(ControlHandle ctl);
  10.  
  11. WindowPtr CtlWindow(ControlHandle ctl);
  12. void CtlRect(ControlHandle ctl, Rect *r);
  13. Boolean CtlVisible(ControlHandle ctl);
  14. Byte CtlHilite(ControlHandle ctl);
  15. void CtlInval(ControlHandle ctl);
  16. ControlHandle CtlNext(ControlHandle ctl);
  17. short CtlValue(ControlHandle ctl);
  18. void CtlValueSet(ControlHandle ctl, short value);
  19. void CtlTitle(ControlHandle ctl, CStr255 title);
  20. void CtlTitleSet(ControlHandle ctl, const CStr255 title);
  21. Boolean CtlEnabled(ControlHandle ctl);
  22. void CtlEnableSet(ControlHandle ctl, Boolean enable);
  23.  
  24. void CtlDefaultFrame(ControlHandle ctl, Pattern pat);
  25. void CtlDefaultErase(ControlHandle ctl);
  26. void CtlFlashButton(ControlHandle ctl);
  27.  
  28. Boolean CtlWithin(ControlHandle ctl, Point where);
  29. short CtlMouseDown(ControlHandle ctl, EventRecord *event);
  30.  
  31. void CtlInitialize(ControlHandle ctl);
  32. void CtlUninitialize(ControlHandle ctl);
  33. ControlHandle CtlBegin(WindowPtr window);
  34. void CtlEnd(ControlHandle ctl);
  35.  
  36. const /* EventTableType */ void *CtlEventTable(void);
  37. void CtlEventTableRegister(void);
  38.